/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm;

import org.hibernate.Criteria;
import org.orm.PersistentException;
import org.orm.PersistentSession;
import org.orm.criteria.*;

public class Tbv_facturacionCriteria extends AbstractORMCriteria {
	public final IntegerExpression fa_id_facturacion;
	public final StringExpression fa_consumidor;
	public final IntegerExpression fa_valor_facturable;
	
	public Tbv_facturacionCriteria(Criteria criteria) {
		super(criteria);
		fa_id_facturacion = new IntegerExpression("fa_id_facturacion", this);
		fa_consumidor = new StringExpression("fa_consumidor", this);
		fa_valor_facturable = new IntegerExpression("fa_valor_facturable", this);
	}
	
	public Tbv_facturacionCriteria(PersistentSession session) {
		this(session.createCriteria(Tbv_facturacion.class));
	}
	
	public Tbv_facturacionCriteria() throws PersistentException {
		this(orm.Bdvendomaticav04PersistentManager.instance().getSession());
	}
	
	public Tbv_bitacora_maquinaCriteria createTbv_bitacora_maquinabm_id_bitacora_maquinaCriteria() {
		return new Tbv_bitacora_maquinaCriteria(createCriteria("tbv_bitacora_maquinabm_id_bitacora_maquina"));
	}
	
	public Tbv_facturacion uniqueTbv_facturacion() {
		return (Tbv_facturacion) super.uniqueResult();
	}
	
	public Tbv_facturacion[] listTbv_facturacion() {
		java.util.List list = super.list();
		return (Tbv_facturacion[]) list.toArray(new Tbv_facturacion[list.size()]);
	}
}

